package cn.spring.rabbitmq.demo.rabbitmq.message;

import cn.hutool.core.util.IdUtil;
import lombok.Data;

import java.io.Serial;

/**
 *
 * @Author tanyong
 * @Version BaseMessage v1.0.0 2025/9/17 17:23 $$
 */
@Data
public class BaseMessage implements java.io.Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    protected Long deliveryTag = IdUtil.getSnowflake().nextId();
}
